home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / wildcat / digikit.zip / I14BBS.DOC < prev    next >
Text File  |  1991-09-20  |  21KB  |  725 lines

  1.  --------------------------------------------------------------------
  2.  
  3.         function 0  - initialize a port
  4.  
  5.      fct entry : ah = 0,
  6.                  al = port parameters
  7.               76543210
  8.                          ||||||||
  9.              ||||||``-- Data bits : 00  = 5 bits
  10.              ||||||                 01  = 6 bits
  11.              ||||||                 10  = 7 bits
  12.               ||||||                 11  = 8 bits
  13.                          |||||`---- Stop bits :  0  = 1 bit
  14.               |||||                   1  = 2 bits
  15.               |||``----- Parity    : 00  = none
  16.               |||                    01  = odd
  17.               |||                    10  = none
  18.               |||                    11  = even
  19.               ```------- Baud rate : 000 =   110 baud
  20.                                      = 19200 if EBIOS supported
  21.                          001 =   150 baud
  22.                          010 =   300 baud
  23.                          011 =   600 baud
  24.                          100 =  1200 baud
  25.                          101 =  2400 baud
  26.                          110 =  4800 baud
  27.                          111 =  9600 baud
  28.  
  29.              dx = any valid channel # (DX min - DX max)
  30.  
  31.        returns : ah = 0ffh if error, otherwise :
  32.                 = port status.
  33.              al = modem status.
  34.  
  35.  --------------------------------------------------------------------
  36.  
  37.         function 1h  - output a character
  38.  
  39.      fct entry : ah = 01h
  40.              al = character
  41.              dx = any valid channel # (DX min - DX max)
  42.  
  43.     returns   : ah = port status.
  44.              al = character sent.
  45.  
  46.  --------------------------------------------------------------------
  47.  
  48.         function 2h  - input a character
  49.  
  50.      fct entry : ah = 02h
  51.              dx = any valid channel # (DX min - DX max)
  52.  
  53.     returns   : ah = port status
  54.              al = received character
  55.  
  56.  --------------------------------------------------------------------
  57.  
  58.         function 3h  - return port status
  59.  
  60.      fct entry : ah = 03h
  61.              dx = any valid channel # (DX min - DX max)
  62.  
  63.      returns   : ah = port status
  64.              al = modem status register
  65.  --------------------------------------------------------------------
  66.  
  67.         function 4h  - extended port initialization
  68.  
  69.      ( Differs from COM/XI, PC/X* and MC/Xi DOS driver )
  70.  
  71.  
  72.      fct entry : ah = 04h
  73.              al = break setting
  74.               0 = No break.
  75.               1 = Break (Break will be set until reset)
  76.              bh = Parity
  77.               0 = no parity
  78.               1 = odd parity
  79.               2 = even parity
  80.               3 = stick parity odd (not supported)
  81.               4 = stick parity even (not supported)
  82.              bl = Stop bits
  83.               0 = 1 stop bit
  84.               1 = 2 stop bits
  85.              ch = Character length
  86.               0 = 5 bits
  87.               1 = 6 bits
  88.               2 = 7 bits
  89.               3 = 8 bits
  90.              cl = Baud rate
  91.               00h -   110 baud
  92.               01h -   150 baud
  93.               02h -   300 baud
  94.               03h -   600 baud
  95.               04h -  1200 baud
  96.               05h -  2400 baud
  97.               06h -  4800 baud
  98.               07h -  9600 baud
  99.               08h - 19200 baud
  100.               09h - 38400 baud
  101.              0Ah - 57600 baud
  102.              0Bh - 76800 baud
  103.               0Ch -115200 baud
  104.                    0Dh -    50 baud
  105.               0Eh -    75 baud
  106.                   0Fh -   134 baud
  107.                   10h -   200 baud
  108.               11h -  1800 baud
  109.              dx = any valid channel # (DX min - DX max)
  110.  
  111.      returns   : ah = 0ffh on error, otherwise :
  112.              ah = port status
  113.              al = modem status
  114.  
  115.  --------------------------------------------------------------------
  116.  
  117.         function 5h  - extended communications port control
  118.  
  119.      ( Differs from COM/XI, PC/X* and MC/Xi DOS driver )
  120.  
  121.  
  122.      fct entry : ah = 05h,
  123.              al = 00h - read modem control register
  124.              al = 01h - write modem control register
  125.                   bl  - modem control bits
  126.                     bit 0 = DTR
  127.                     bit 1 = RTS
  128.              dx = any valid channel # (DX min - DX max)
  129.  
  130.      returns   : ah = port status
  131.              al = modem status
  132.              bl = modem control register
  133.                     bit 0 = DTR
  134.               bit 1 = RTS
  135.  
  136.   NOTE : Access to OUT1, OUT2, and Loop bits are not supported. Also,
  137.   RTS and DTR will not be affected while hardware handshaking is active.
  138.  
  139.  --------------------------------------------------------------------
  140.  
  141.         Function 6h  - Get Driver/Board Information
  142.  
  143.  
  144.    ( New to PC/X* and MC/Xi DOS drivers, extends COM/Xi DOS driver function )
  145.  
  146.  
  147.      fct entry : ah = 6h
  148.  
  149.     Sub-function 0
  150.  
  151.              dx = any valid channel # (DX min - DX max)
  152.              al = 0h - get port name
  153.       return    :
  154.              ah    = 0FFh if error, else
  155.                  al    = Highest INT 14h function supported.
  156.              es:bx = Pointer to 8 byte ASCII string
  157.                      String = "NoDriver" if No DOS support
  158.                           is provided (INT 14h only)
  159.                      String = Channel's DOS name
  160.                       (eg "COM5    ")
  161.  
  162.     Sub-function 1
  163.  
  164.              al = 1h - get driver information
  165.              dx = any valid channel # (DX min - DX max)
  166.       return :
  167.                ah = 0FFh if error, else
  168.              ax = Total number of channels supported.
  169.              bx = Driver Version # (e.g. V 2.0.1 : BX = 0201h)
  170.                  cx = Total number of board's supported.
  171.                  dx = DX min - Lowest DX value for INT 14h calls.
  172.                   Maximum DX value = Minimum value + AX - 1
  173.  
  174.     Sub-function 2h
  175.  
  176.                 al = 2h - get board information
  177.              bx = Board Number (0-3).
  178.              dx = any valid channel # (DX min - DX max).
  179.           return :
  180.              ah = 0FFh if error, else
  181.              ah = IRQ number.
  182.              al = Board Type .
  183.                   1 = COM/Xi
  184.                2 = MC/Xi
  185.               3 = PC/Xe
  186.               4 = PC/Xi
  187.               5 = PC/Xm
  188.              bx = Board's Dual-Ported Memory Segment.
  189.                  cx = Number of channels on the board.
  190.              dx = Board's I/O port Address.
  191.              si = INT 14h DX value for board's first channel
  192.  
  193.     Sub-function 0ffh
  194.  
  195.              al = 0ffh - get driver name
  196.              dx = any valid channel # (DX min - DX max).
  197.           return :
  198.              ax    = driver version #
  199.              cx    = number of channels supported.
  200.                  es:bx = pointer to drivers name (8 bytes 'DIGIFEP5').
  201.  
  202.  --------------------------------------------------------------------
  203.  
  204.         function 7h  - Send Break
  205.  
  206.       ( New to PC/X* and MC/Xi DOS drivers. Old Com/Xi driver used
  207.            a 55 msec interval instead of this drivers 10 msec interval. )
  208.  
  209.  
  210.      fct entry : ah = 07h
  211.              al = 00h - Use default break time
  212.                 = 01h   then bx = break length in # of 10 msec
  213.                     intervals.
  214.              dx = any valid channel # (DX min - DX max)
  215.  
  216.      returns   : ah = 0ffh on error
  217.                 = 0    on success
  218.  
  219.  --------------------------------------------------------------------
  220.  
  221.         function 8h  - alternate status check
  222.  
  223.      fct entry : ah = 08h
  224.              dx = any valid channel # (DX min - DX max)
  225.  
  226.      returns   : zf = 0 and
  227.              ah = a non 0ffh number.
  228.                          then  ah = line status
  229.                     al = Character queued
  230.              zf = 1 and
  231.              ah = 0ffh
  232.                   then no char queued
  233.  
  234.  Note : If zf = 1 then and only then will ah = 0ffh. Thus, you only need to
  235.     check zf OR ah to determine the success or failure of the call.
  236.  
  237.  --------------------------------------------------------------------
  238.  
  239.         function 9h  - clear buffers
  240.  
  241.      fct entry : ah = 09h,
  242.              dx = any valid channel # (DX min - DX max)
  243.  
  244.      returns   : ah = 0    fct good
  245.              ah = 0ffh fct bad (ccb timeout error)
  246.  --------------------------------------------------------------------
  247.  
  248.         function 0ah - input queue check
  249.  
  250.      fct entry : ah = 0ah
  251.              dx = any valid channel # (DX min - DX max)
  252.  
  253.     returns   : zf = 1 and dh = offh if error, otherwise
  254.                     ax = number of queued characters
  255.  
  256.  
  257.   Note : This function differs from FCT 15h. Fct 0Ah returns the number
  258.          of data characters in the receive buffer, while function 15h
  259.          returns the number of bytes used in the buffer. Typically, each
  260.       recieved character uses only one byte of buffer space unless the
  261.       data byte is 0ffh or unless an error is associated with it. In
  262.       these cases, 2 and 3 bytes of buffer space are used, respectively.
  263.       Fct 0Ah disregards these extra bytes in it's returned count, while
  264.       function 15h does not.
  265.  
  266.       Use fct 0Ah when you wish to know how many data bytes to read when
  267.       using functions 2h (input a character) or 0Fh (read string).
  268.  
  269.       Use fct 15h when you want to know how many physical bytes of buffer
  270.          space are used.
  271.  
  272.       If you were previously using the COM/Xi DOS driver "XIM232.SYS"
  273.          Functions 0Ah and 15h are swapped in this driver.
  274.  
  275.       Also note that status bytes are not stored with every character in
  276.       the receive buffer as they where with the XIM232, XAPCM232 and
  277.       XIM232MC DOS drivers.
  278.  
  279.  
  280.       : If zf = 1 then and only then will dh = 0ffh. Thus, you only need to
  281.     check zf OR dh to determine the success or failure of the call.
  282.  
  283.  --------------------------------------------------------------------
  284.  
  285.         function 0bh  - Drop Handshake Lines
  286.  
  287.       ( New to PC/X* and MC/Xi DOS drivers )
  288.  
  289.  
  290.  
  291.      fct entry : ah = 0bh
  292.              dx = any valid channel # (DX min - DX max)
  293.  
  294.         returns   : ah = 0ffh if errors
  295.              ah = 0    on success
  296.  
  297.      This Function drops DTR and RTS. If Hardware handshaking is
  298.      active, it is disabled, the lines are dropped, and then it is
  299.      re-enabled.
  300.  
  301.  --------------------------------------------------------------------
  302.  
  303.         function 0ch  - Get Channel Parameters
  304.  
  305.       ( New to PC/X* and MC/Xi DOS drivers  changes and extends
  306.         COM/Xi DOS driver function.                  )
  307.  
  308.  
  309.  
  310.      fct entry : ah = 0ch
  311.              dx = any valid channel # (DX min - DX max)
  312.  
  313.      returns   : ah = 0ffh on error
  314.                   otherwise
  315.              ah = S/W flow control
  316.               bit 0 = tx s/w flow control (XON/XOFF)
  317.               bit 1 = rx  "    "     "        "
  318.                  al = H/W flow control
  319.               bit 0 = DTR rx flow control
  320.               bit 1 = RTS rx flow control
  321.               bit 4 = CTS tx flow control
  322.               bit 5 = DSR tx flow control
  323.               bit 7 = DCD tx flow control
  324.              bh = Parity
  325.               0 = no parity
  326.               1 = odd parity
  327.               2 = even parity
  328.              bl = Stop bits
  329.               0 = 1 stop bit
  330.               1 = 2 stop bits
  331.              ch = Character length
  332.               0 = 5 bits
  333.               1 = 6 bits
  334.               2 = 7 bits
  335.               3 = 8 bits
  336.              cl = Baud rate
  337.               00h -   110 baud
  338.               01h -   150 baud
  339.               02h -   300 baud
  340.               03h -   600 baud
  341.               04h -  1200 baud
  342.               05h -  2400 baud
  343.               06h -  4800 baud
  344.               07h -  9600 baud
  345.               08h - 19200 baud
  346.               09h - 38400 baud
  347.               0Ah - 57400 baud
  348.               0Bh - 75600 baud
  349.               0Ch -115200 baud
  350.                    0Dh -    50 baud
  351.               0Eh -    75 baud
  352.                   0Fh -   134 baud
  353.                   10h -   200 baud
  354.               11h -  1800 baud
  355.  
  356.  --------------------------------------------------------------------
  357.  
  358.         function 0dh - get pointer to character ready flag
  359.  
  360.      fct entry : ah = 0ah
  361.              dx = any valid channel # (DX min - DX max)
  362.  
  363.      returns   : es:bx = pointer to the flag
  364.                             flag = 0    : rx buffer empty
  365.                      flag = 0ffh : char available in rx buffer
  366.  
  367.     note      : The driver uses interrupts from the board, therfore an
  368.              IRQ line must be selected for this function to work.
  369.  
  370.  --------------------------------------------------------------------
  371.  
  372.         function 0eh  -  write string
  373.  
  374.     fct entry : ah    = 0eh
  375.             dx    = any valid channel # (DX min - DX max)
  376.             cx    = # of chars in string
  377.             es:bx = pointer to string
  378.  
  379.      returns   : ax    = # chars transmitted
  380.             zf    = 1 and dh = 0ffh if errors
  381.  
  382.  NOTE : If zf = 1 then and only then will dh = 0ffh. Thus, you only need to
  383.     check zf OR dh to determine the success or failure of the call.
  384.  
  385.  --------------------------------------------------------------------
  386.  
  387.         function 0fh  - read string
  388.  
  389.           fct entry : ah    = 0fh
  390.              dx    = any valid channel # (DX min - DX max)
  391.                     cx    = # of chars to read
  392.                  es:bx = pointer to callers buffer
  393.  
  394.     returns   : ax    = # chars read
  395.             zf    = 1 and dh = 0ffh if errors
  396.                 (line sts or wrong # chars rtnd)
  397.  
  398.  NOTE : If zf = 1 then and only then will dh = 0ffh. Thus, you only need to
  399.     check zf OR dh to determine the success or failure of the call.
  400.  
  401.  --------------------------------------------------------------------
  402.  
  403.         function 10h  - clear rx buffer
  404.  
  405.      fct entry : ah = 10h
  406.              dx = any valid channel # (DX min - DX max)
  407.  
  408.      returns   : ah = 0ffh error
  409.              ah = 0    success
  410.  
  411.  --------------------------------------------------------------------
  412.  
  413.         function 11h  - clear tx buffer
  414.  
  415.      fct entry : ah = 11h
  416.              dx = any valid channel # (DX min - DX max)
  417.  
  418.      returns   : ah = 0ffh fct error
  419.              ah = 0    fct good
  420.  
  421.  --------------------------------------------------------------------
  422.  
  423.         function 12h  - get tx buffer free space
  424.  
  425.      fct entry : ah = 12h
  426.              dx = any valid channel # (DX min - DX max)
  427.  
  428.      returns   : ax = # of free bytes
  429.  
  430.  --------------------------------------------------------------------
  431.  
  432.         function 13h  - Set Handshake Lines
  433.  
  434.       ( New to PC/X* and MC/Xi DOS drivers )
  435.  
  436.  
  437.      fct entry : ah = 13
  438.              dx = any valid channel # (DX min - DX max)
  439.  
  440.      returns   : ah = 0ffh if errors
  441.              ah = 0    on success
  442.  
  443.      This Function raises DTR and RTS. If Hardware handshaking is
  444.      active, it is disabled, the lines are raised, and then it is
  445.      re-enabled.
  446.  
  447.  --------------------------------------------------------------------
  448.  
  449.          function 14h  - Non destructive character read
  450.  
  451.       ( New to PC/X* and MC/Xi DOS drivers )
  452.  
  453.         fct entry : ah = 014h
  454.              dx = any valid channel # (DX min - DX max)
  455.  
  456.      returns   : ah = Line status
  457.              al = Character queued
  458.  
  459.  --------------------------------------------------------------------
  460.  
  461.         function 15h  - input byte count
  462.  
  463.         fct entry : ah = 015h
  464.              dx = any valid channel # (DX min - DX max)
  465.  
  466.      returns   : ah = # of used bytes in the receive buffer
  467.  
  468.      ( See note on FCT 0Ah )
  469.  
  470.  
  471.  ------------------------------------------------------------------
  472.  
  473.         function 16h  - Reserved
  474.  
  475.         ( Old PC/X* Send CCB Command )
  476.  
  477.  
  478.  ------------------------------------------------------------------
  479.  
  480.         function 17h  - Pause / Resume transmit
  481.  
  482.    ( New to PC/X* and MC/Xi, Old COM/Xi Get / Clear transmit pause )
  483.  
  484.     fct entry:  ah = 17h
  485.             al = 0, pause transmit
  486.                = 1, resume transmit
  487.              dx = any valid channel # (DX min - DX max)
  488.  
  489.           returns:  ah = 0ffh fct error
  490.              ah = 0    fct good
  491.  
  492.  ------------------------------------------------------------------
  493.  
  494.         function 18h  - Pause / Resume receive
  495.  
  496.     ( Old PC/X* and MC/Xi Send Bios Command, New to COM/Xi)
  497.  
  498.     fct entry:  ah = 18h
  499.             al = 0, pause receive
  500.                = 1, resume receive
  501.              dx = any valid channel # (DX min - DX max)
  502.  
  503.           returns:  ah = 0ffh fct error
  504.              ah = 0    fct good
  505.  
  506.  
  507.  ------------------------------------------------------------------
  508.  
  509.         function 19h  - Reserved
  510.  
  511.          ( Old PC/X* set/reset special character Interrupt )
  512.  
  513.  ------------------------------------------------------------------
  514.  
  515.         function 1ah  - Reserved
  516.  
  517.          ( Old PC/X* get pointer to special character flag / counter )
  518.  
  519.  --------------------------------------------------------------------
  520.  
  521.         function 1bh  -  Get water marks / buffer size
  522.  
  523.  
  524.      ( New to PC/X*, MC/Xi and COM/Xi DOS drivers )
  525.  
  526.      fct entry : ah = 1bh
  527.              al = 0 - Get Transmit Low water mark.
  528.                 = 1 - Get Receive Low water mark.
  529.                 = 2 - Get Receive High water mark.
  530.              dx = any valid channel # (DX min - DX max)
  531.  
  532.      returns   : ax = requested water mark.
  533.              bx = tx buffer size if al was 0
  534.                 = rx buffer size if al was 1 or 2
  535.             zf = 1 and dh = 0ffh if error
  536.  
  537.   Note : Transmit low water mark - The host may request an event (IRQ) when the
  538.       number of characters in the transmit buffer falls below this number.
  539.  
  540.        : Receive low water mark - When receive is paused and the number
  541.       of characters in the receive buffer falls below this number,
  542.       receive is resumed.
  543.  
  544.        : Receive high water mark - When receive is not paused and the
  545.       the number of characters in the receive buffer meets or exceeds
  546.       this value, transmit is paused.
  547.  
  548.        : If zf = 1 then and only then will dh = 0ffh. Thus, you only need to
  549.      check zf OR dh to determine the success or failure of the call.
  550.  
  551.  --------------------------------------------------------------------
  552.  
  553.         function 1ch  -  Set water marks
  554.  
  555.      ( New to PC/X*, MC/Xi and COM/Xi DOS drivers )
  556.  
  557.  
  558.      fct entry : ah = 1ch
  559.              al = 0 - Set Transmit Low water mark.
  560.                 = 1 - Set Receive Low water mark.
  561.                 = 2 - Set Receive High water mark.
  562.              bx = water mark value.
  563.              dx = any valid channel # (DX min - DX max)
  564.  
  565.      returns   : ah = 0 on sucess.
  566.                 = 0ffh on error.
  567.  --------------------------------------------------------------------
  568.  
  569.         function 1dh  -  Reserved
  570.  
  571.  --------------------------------------------------------------------
  572.  
  573.         function 1eh  -  Set flow control
  574.  
  575.      ( New to PC/X*, MC/Xi and COM/Xi DOS drivers )
  576.  
  577.  
  578.      fct entry : ah = 1eh
  579.              bh = S/W flow control
  580.               bit 0 = tx s/w flow control (XON/XOFF)
  581.               bit 1 = rx  "    "     "        "
  582.              bit 2 = set new XON/XOFF characters in CX
  583.             bl = H/W flow control
  584.               bit 0 = DTR rx flow control
  585.               bit 1 = RTS rx flow control
  586.               bit 4 = CTS tx flow control
  587.               bit 5 = DSR tx flow control
  588.               bit 7 = DCD tx flow control
  589.             ch = new XOFF character if BX bit 2 = 1
  590.             cl = new XON  character if BX bit 2 = 1
  591.             dx = any valid channel # (DX min - DX max)
  592.  
  593.      returns   : ah = 0 on sucess.
  594.                 = 0ffh on error.
  595.  
  596.  --------------------------------------------------------------------
  597.  
  598.         function 1fh  -  Enable / Disable Events
  599.  
  600.  
  601.      ( New to PC/X*, MC/Xi and COM/Xi DOS drivers )
  602.  
  603.  
  604.      fct entry : ah = 1fh
  605.              al = Event mask
  606.                    76543210
  607.                    |||||||`--- Event on BREAK received.
  608.                    ||||||`---- Event on TX low water mark.
  609.                    |||||`----- Event on TX buffer empty.
  610.                   ||||`------ Event on RX data present.
  611.                    |||`------- (Not Used)
  612.                   ||`-------- Event on Modem Change Signal.
  613.                   ``--------- (Not Used)
  614.                bl = Modem Signal if al bit 5 = 1
  615.                   76543210
  616.                   ||||````-- (Not Used)
  617.                   |||`------ CTS
  618.                   ||`------- DSR
  619.                   |`-------- RI
  620.                   `--------- DCD
  621.              dx = any valid channel # (DX min - DX max)
  622.  
  623.  
  624.      returns   : ah = 0 on success
  625.                  ah = ff if error
  626.  
  627.  --------------------------------------------------------------------
  628.  
  629.       EBIOS function 0f4h  -  Presence Test
  630.  
  631.      ( New to PC/X*, MC/Xi and COM/Xi DOS drivers )
  632.  
  633.  
  634.      fct entry : ah = 0f4h
  635.              dx = any valid channel # (DX min - DX max)
  636.  
  637.      return    : ax = 0
  638.  
  639.  --------------------------------------------------------------------
  640.  
  641.       EBIOS function 0fbh  -  Specify modem leads
  642.  
  643.      ( New to PC/X*, MC/Xi and COM/Xi DOS drivers )
  644.  
  645.  
  646.      fct entry : ah = 0fbh
  647.              al = modem leads
  648.                   bit 0 = set/reset DTR output
  649.                   bit 1 = set/reset RTS output
  650.                   bit 4 = use CTS for input flow control.
  651.                   bit 5 = use DSR for input flow control.
  652.                   bit 6 = RI not supported
  653.                   bit 7 = use DCD for input flow control.
  654.              dx = any valid channel # (DX min - DX max)
  655.  
  656.   Note : If RTS or DTR flow control is active, these lines will not be
  657.          affected until that flow control is deselected.
  658.  
  659.  --------------------------------------------------------------------
  660.  
  661.       EBIOS function 0fch  -  receive with no wait
  662.  
  663.      ( New to PC/X*, MC/Xi and COM/Xi DOS drivers )
  664.  
  665.  
  666.      fct entry : ah = 0fch
  667.              dx = any valid channel # (DX min - DX max)
  668.  
  669.       return    : ah = line status
  670.              al = character
  671.  
  672.  --------------------------------------------------------------------
  673.  
  674.       EBIOS function 0fdh  -  retrieve buffer count
  675.  
  676.      ( New to PC/X*, MC/Xi and COM/Xi DOS drivers )
  677.  
  678.  
  679.      fct entry : ah = 0fdh
  680.              al = 1 - Get transmit buffer count.
  681.                 = 2 - Get receive buffer count
  682.              dx = any valid channel # (DX min - DX max)
  683.  
  684.      return    : cx = character count
  685.  
  686.      This function returns the number of characters in the specified
  687.      buffer.
  688.  
  689.  --------------------------------------------------------------------
  690.  
  691.       EBIOS function 0feh  -  Set pacing mode
  692.  
  693.      ( New to PC/X*, MC/Xi and COM/Xi DOS drivers )
  694.  
  695.  
  696.           fct entry : ah = 0feh
  697.                  al = 0   - no pacing.
  698.                 = 40h - XON/XOFF for Receive.
  699.                 = 80h - XON/XOFF for Transmit, no RX pacing
  700.                 = C0h - XON/XOFF for Receive and Transmit.
  701.              dx = any valid channel # (DX min - DX max)
  702.  
  703.   Note : CTS and DSR transmit pacing is always activated by a call to this
  704.       function to emulate BIOS pacing.  All other flow control (if any)
  705.       is disabled.
  706.  
  707.  --------------------------------------------------------------------
  708.  
  709.       EBIOS function 0ffh  -  Set buffered mode of operation
  710.  
  711.      ( New to PC/X*, MC/Xi and COM/Xi DOS drivers )
  712.  
  713.  
  714.      fct entry : ah    = 0ffh
  715.                  al    = 1 - Transmit buffer.
  716.                    = 2 - Receive buffer.
  717.                  cx    = buffer size, 0 = terminate buffer mode.
  718.              dx       = any valid channel # (DX min - DX max)
  719.              es:bx = pointer to buffer.
  720.  
  721.      This function really has no effect, since the intellegent boards
  722.      use on-board buffering and thus have no need for host buffering.
  723.  
  724.  --------------------------------------------------------------------
  725.